﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace mevsukovGames
{
    class Coordinates
    {
        private int _x;
        private int _y;

        public Coordinates(int x_value, int y_value)
        {
            _x = x_value;
            _y = y_value;
        }

        //public void SetCoordinates(int x_value, int y_value)
        //{
        //    _x = x_value;
        //    _y = y_value;
        //}

        public void ChangeCoordinates(int xCorrective, int yCorrective)
        {
            _x += xCorrective;
            _y += yCorrective;
        }

        public int XCoordinate
        {
            get {return _x;}

        }

        public int YCoordinate
        {
            get { return _y; }
        }

    }
}
